﻿using System.Collections.Generic;
using System.Data;
using IDAL;
using Model;

namespace BLL
{
    public class TAssembleDetails
    {
        private static readonly ITAssembleDetails dal = DALFactory.DataAccess.CreateTAssembleDetails();

        public IList<TAssembleDetailsInfo> GetTAssembleDetailsbySN(string productSN)
        {
            return dal.GetTAssembleDetailsbySN(productSN);
        }

        public IList<TAssembleDetailsInfo> GetTAssembleDetailsbySID(string semiBatchID)
        {
            return dal.GetTAssembleDetailsbySID(semiBatchID);
        }
    }
}
